package com.hmall.common.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("tb_address")
public class Address {
    @TableId(type = IdType.AUTO)
    private Long id;            //地址id
    private Long userId;        //用户id
    private String province;    //省份
    private String city;        //城市
    private String town;        //县/区
    private String mobile;      //手机
    private String street;      //详细地址
    private String contact;     //联系人
    private String isDefault;   //是否默认 1 默认 0否
    private String notes;       //备注
}
